import request from '@/utils/request'

// 查询导师关系设置列表
export function listDsgxsz(query) {
  return request({
    url: '/admin/dsgxsz/list',
    method: 'get',
    params: query
  })
}

// 查询导师关系设置详细
export function getDsgxsz(id) {
  return request({
    url: '/admin/dsgxsz/' + id,
    method: 'get'
  })
}

// 新增导师关系设置
export function addDsgxsz(data) {
  return request({
    url: '/admin/dsgxsz',
    method: 'post',
    data: data
  })
}

// 修改导师关系设置
export function updateDsgxsz(data) {
  return request({
    url: '/admin/dsgxsz',
    method: 'put',
    data: data
  })
}

// 删除导师关系设置
export function delDsgxsz(id) {
  return request({
    url: '/admin/dsgxsz/' + id,
    method: 'delete'
  })
}
